//
//  DAUUrlProtocolMerger.m
//  DAU-iOS
//
//  Created by XiangDongMBP on 16/11/14.
//  Copyright © 2016年 East. All rights reserved.
//

#import "DAUUrlProtocolMerger.h"

static NSString * const kDAUUrlHttpPre = @"http://";

@implementation DAUUrlProtocolMerger

+ (NSString *)apiLogin {
    return [NSString stringWithFormat:@"%@%@%@", kDAUUrlHttpPre, DAU_APP_DELEGATE.domain, @"/api/login"];
}

+ (NSString *)apiCollectorList {
    return [NSString stringWithFormat:@"%@%@%@", kDAUUrlHttpPre, DAU_APP_DELEGATE.domain, @"/api/collector_list"];
}

+ (NSString *)apiCollector {
    return [NSString stringWithFormat:@"%@%@%@", kDAUUrlHttpPre, DAU_APP_DELEGATE.domain, @"/api/collector"];
}

+ (NSString *)apiSecureLine {
    return [NSString stringWithFormat:@"%@%@%@", kDAUUrlHttpPre, DAU_APP_DELEGATE.domain, @"/api/temperature_secure_line"];
}

+ (NSString *)apiContact {
    return [NSString stringWithFormat:@"%@%@%@", kDAUUrlHttpPre, DAU_APP_DELEGATE.domain, @"/api/ctrl_contact"];
}

+ (NSString *)apiConfirmMsg {
    return [NSString stringWithFormat:@"%@%@%@", kDAUUrlHttpPre, DAU_APP_DELEGATE.domain, @"/api/confirm_msg"];
}

@end
